package jike.demo16;

import java.util.Timer;
import java.util.concurrent.TimeUnit;

/**
 * @param
 * @author oyz
 * @version 1.0.4
 * @description: 服务器
 * @date 2022/11/8 22:54
 */
public class Systeam {

    private String api;

    public Systeam(String api) {
        this.api = api;
    }


    public long getMaxTps() {
        return Long.valueOf(api);
    }

    public long getMaxErrorCount() {
        return 1000;
    }

    public long getTimeOut() {
        return TimeUnit.MINUTES.toSeconds(1);
    }
}
